fix(deps): update rust crate zbus to v5 #234
Open
+4
β4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4
->5
Release Notes
dbus2/zbus (zbus)
v5.0.0
: π zbus 5.0.0Compare Source
encoding and decoding.
proxy
macro respects visibility. This includes all types generated byproxy
. Unfortunatelythis means that the existing code will have to set the visiblity explicitly to
pub
if theywere relying on the generated proxy to be public.
DBUS_COOKIE_SHA1
auth mechanism. #β727sha1
crate as a dependency, which can be problematic for some users. #β543EXTERNAL
is not an option, you might as well just useANONYMOUS
.authentication mechanisms with one of them being no-authentication, this really makes sense
since we can just autodetect what authentication method to use for a specific socket type on a
specific platform. This also simplifies the handshake logic and will allow us to pipeline the
whole client-side handshake in the future, when we can drop the xdg-dbus-proxy workarounds. #β781
same type of arguments.
fdo
API.interface
now generates a trait, Signals, that provides the same signalmethods as user specifies but w/o the
SignalEmitter
argument (#β871). The macro also generates2 implementations of this trait for:
method.
SignalContext::emit
. Add a new method to SignalContext that allows emitting a signal fora given interface and singal name.
mechanism. We'll use this in a following commit to avoid an allocation.
should be used with it. The implementation can choose this based on the socket type and the
target platform.
be private.
SignalContext
toSignalEmitter
. Since now this emits signals, this is a moreappropriate name. We keep a deprecated
SignalContext
type alias as well as thesignal_context
attribute ofinterface
for not completely breaking the existing code.AuthMechanism
in the root asdeprecated.
the conversion to NonZeroU32 panics. #β946
the
Proxy
API.p2p
feature is enabled.serde_bytes
Cargo feature. This is just a proxy feature forzvariant
'sserde_bytes
feature. #β1052
blocking-api
tozbus
&zbus_macros
. When enabled, thezbus::blocking
module is available. When disabled,proxy
macro ignores the value of
gen_blocking
attribute and doesn't generate blocking proxy. Thisfeature is enabled by default.
camino
feature as proxy for zvariant feature of the same name.sha1
crate.futures-sink
.rand
now an optional dependency. It is only enabled ifp2p
feature is enabled. This meansthat
rand
dependency is dropped for typical users.blocking
module docs.Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.